/**
 * Baijiahulian.com Inc.
 * Copyright (c) 2014-2016 All Rights Reserved.
 */
package com.baijia.dao;

import com.baijia.dao.po.AuthorizeService;

import java.util.Collection;
import java.util.Date;

/**
 * @title AuthorizeServiceDao
 * @desc TODO 
 * @author macrohuang
 * @date Jan 21, 2016
 * @version 1.0
 */
public interface AuthorizeServiceDao {
    /**
     * 获取所有授权信息
     * @param env TODO
     * @return
     */
    Collection<AuthorizeService> getAllAuthorizeServices(String env);
    
    /**
     * 获取上次获取以来有变化的授权信息
     * @param date
     * @param env TODO
     * @return
     */
    Collection<AuthorizeService> getAuthorizeServicesHaveBeenChangeSinceLastTrigger(Date date, String env);
}
